﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a,
address, big, cite, code, del, em, font, img, ins, small, strong, var, b, u,
i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend
{
    margin: 0;
    padding: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section
{
    display: block;
}

ol, ul
{
    list-style: none;
}

:focus
{
    -moz-outline: 0;
    outline: 0;
}

a img
{
    border: 0;
}

img
{
    vertical-align: middle;
}

ins
{
    text-decoration: none;
}

del
{
    text-decoration: line-through;
}

em
{
    font-style: normal;
}

button::-moz-focus-inner, input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner, input[type="file"] > input[type="button"]::-moz-focus-inner
{
    border: none;
    padding: 0;
}

body
{
    background-color: #5c87b2;
    font-family: Verdana, Tahoma, Arial, "Helvetica Neue", Helvetica, Sans-Serif;
    color: #696969;
    font-size: 87.5%;
}

a:link
{
    color: #034af3;
    text-decoration: underline;
}

a:visited
{
    color: #505abc;
}

a:hover
{
    color: #1d60ff;
    text-decoration: none;
}

a:active
{
    color: #12eb87;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #000;
}

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2
{
    padding: 0 0 10px 0;
}

h3
{
    font-size: 1.2em;
}

h4
{
    font-size: 1.1em;
}

h5, h6
{
    font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2.5%;
    right: 2.5%;
}

#header
{
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

    #header h1
    {
        font-weight: bold;
        padding: 5px 0;
        margin: 0;
        color: #fff;
        border: none;
        line-height: 2em;
        font-size: 32px !important;
    }

#main
{
    background-color: #fff;
    margin-bottom: 5px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
    position: absolute;
    top: 120px;
    bottom: 30px;
    left: 0;
    right: 0;
    padding: 10px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

    #main #leftMenu
    {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 200px;
        border: 1px solid #3496bb;
        padding: 2px 0;
    }

#leftMenu li a
{
    font-weight: bold;
    text-decoration: none;
    line-height: 3em;
    background-color: #e8eef4;
    color: #034af3;
    display: block;
    text-align: center;
}

    #leftMenu li a:hover
    {
        background-color: #fff;
        text-decoration: none;
    }

    #leftMenu li a:active, #leftMenu li.selected a
    {
        background-color: #a6e2a6;
        text-decoration: none;
        color: black;
        font-weight: bold;
    }

#main #rightContent
{
    position: absolute;
    left: 205px;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 5px;
}

#footer
{
    line-height: 30px;
    font-size: .9em;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background-color: #fff;
    padding: 0 0 0 10px;
}

/* TAB MENU   
----------------------------------------------------------*/
#menu
{
    border-bottom: 1px #5C87B2 solid;
    padding: 0 0 2px;
    position: relative;
    margin: 0;
}

    #menu li
    {
        display: inline;
        list-style: none;
    }

        #menu li a
        {
            padding: 10px 20px;
            font-weight: bold;
            text-decoration: none;
            line-height: 2.8em;
            background-color: #e8eef4;
            color: #034af3;
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            border-radius: 3px;
        }

            #menu li a:hover
            {
                background-color: #fff;
                text-decoration: none;
            }

            #menu li a:active, #menu li.selected a
            {
                background-color: #a6e2a6;
                text-decoration: none;
            }

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset
{
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend
{
    font-size: 1.2em;
    font-weight: bold;
}

textarea
{
    min-height: 75px;
}

input[type="text"]
{
    width: 200px;
    border: 1px solid #CCC;
}

input[type="password"]
{
    width: 200px;
    border: 1px solid #CCC;
}

/* TABLE
----------------------------------------------------------*/

table
{
    border: solid 1px #e8eef4;
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
}

    table td
    {
        padding: 5px;
        border: solid 1px #e8eef4;
    }

    table th
    {
        padding: 6px 5px;
        text-align: left;
        background-color: #e8eef4;
        border: solid 1px #e8eef4;
    }

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color: Red;
}

#menucontainer
{
}

#headerTop
{
    position: relative;
    height: 75px;
}

div#title, #welcomeInfo, #logindisplay
{
    position: absolute;
    text-align: left;
}

#title
{
    left: 0;
    top: 0;
}

#welcomeInfo
{
    top: 0;
    right: 20%;
    bottom: 0;
    line-height: 75px;
    vertical-align: middle;
}

#logindisplay
{
    font-size: 1.1em;
    text-align: right;
    margin: 10px;
    color: White;
    top: 0;
    right: 0;
}

    #logindisplay a:link
    {
        color: white;
        text-decoration: underline;
    }

    #logindisplay a:visited
    {
        color: white;
        text-decoration: underline;
    }

    #logindisplay a:hover
    {
        color: white;
        text-decoration: none;
    }

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label,
.editor-label
{
    margin: 1em 0 0 0;
}

.display-field,
.editor-field
{
    margin: 0.5em 0 0 0;
}

.inline-form
{
}

    .inline-form .editor-entry .editor-label,
    .inline-form .editor-entry .editor-field
    {
        display: -moz-inline-stack;
        display: inline-block;
        zoom: 1;
        *display: inline;
    }

.editor-entry .editor-label
{
    width: 200px;
    text-align: right;
    margin-right: 10px;
}

.text-box
{
    width: 30em;
}

    .text-box.multi-line
    {
        height: 6.5em;
    }

.tri-state
{
    width: 6em;
}

body .tempLoadingDialog .ui-dialog-titlebar-close
{
    display: none;
}

.errorModel
{
    font-weight: bold;
    color: red;
}

.buttonsContain
{
    text-align: center;
    margin-top: 10px;
}
/*分页控件样式*/
.pages
{
    color: red;
    font-weight: bold;
    font-size: 1.2em;
    margin: 15px 0 0 0;
}

    .pages .item a
    {
        padding: 1px 6px;
        font-size: 1.2em;
    }
    /*数字页索引样式*/
    .pages .cpb
    {
        color: red;
        padding: 1px 6px;
        font-size: 1.2em;
    }
    /*当前页样式*/
    .pages a
    {
        text-decoration: none;
        padding: 0 5px;
        border: 1px solid #ddd;
        margin: 0 2px;
        color: #000;
        font-weight: normal;
    }

        .pages a:hover
        {
            background-color: #E61636;
            color: #fff;
            border: 1px solid #E61636;
            text-decoration: none;
            font-weight: normal;
        }
